/*
 * @Author: 梦付千秋星垂野 465943794@qq.com
 * @Date: 2022-10-09 14:02:04
 * @LastEditors: 梦付千秋星垂野 465943794@qq.com
 * @LastEditTime: 2022-10-09 14:04:50
 * @FilePath: /practise--chat-app-react-nodejs/server/learn_express/2_express_static.js
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
const express = require("express");
const app = express();
//在这里调用express.static()方法，快速对外提供静态资源
app.use(express.static('./clock'))
app.listen(8002, () =>
console.log(`Server started on 127.0.0.1}`)
);
